26. Quiz

What Android object provides notification support for both older and current devices?

SOLUTION: `NotificationCompat.Builder`

What data components are components of Android notifications? (Choose all that Apply)

SOLUTION:
  • Small Icon
  • Large Icon
  • Body
  • Title

Notification Importance that is nonintrusive and but will still show in the shade and status bar.

SOLUTION: LOW

Notification Importance that will announce and peek, as well as show.

SOLUTION: HIGH

Notification Importance that will only show in the shade.

SOLUTION: MIN

Notification that will announce, but not peek.

SOLUTION: DEFAULT

Notifications can be set to attempt which of the following?

SOLUTION:
  • Set the color of the phone status light.
  • Vibrate the Device
  • Change the color of the phone status light.

A Notification________ allows the application to utilize categories of notifications, providing user finite control over how to handle each separately.

SOLUTION: Channel

Applications can specify that notifications are required.

SOLUTION: False

Like Activities, Android notifications use Intents to perform actions from Notifications.

SOLUTION: False

Once a notification is send, it must be cancelled by the user.

SOLUTION: False

A notification announcing video playback would most most likely use:

SOLUTION: `MediaStyle`

A notification announcing communication from your collaboration platform would most likely use:

SOLUTION: `MessagingStyle`

A notification from your email client would most likely use:

SOLUTION: `InboxStyle`

A notification from social media indicating your picture upload was completed would most likely use:

SOLUTION: `BigPictureStyle`